if (do_name() != 'Home') : ?>
Reference | beginclip()
endif ?>
Syntax | beginclip(path)
|
Description | Using the beginclip() and endclip() commands define a clipping mask. The supplied parameter defines the path to be used as a clipping mask. Each of the shape commands returns a path that can be used with beginclip() - setting the draw parameter of a shape command simply returns the path without actually drawing the shape. Any shapes, paths, texts and images between beginclip() and endclip() are clipped, this means that any part that falls outside the clipping mask path is not drawn. |
Returns | ClippingPath containing the mask |
|
Example | | p = oval(20, 20, 80, 80, draw=False)
beginclip(p)
image("header.jpg", -130, 0)
endclip() |
|
include("util/comment.php"); ?>